﻿#ifndef RECVSENSITIVEDLG_H
#define RECVSENSITIVEDLG_H

#include <QDialog>
#include "head.h"

namespace Ui {
class RecvSensitiveDlg;
}

class RecvSensitiveDlg : public QDialog
{
    Q_OBJECT

public:
    explicit RecvSensitiveDlg(QWidget *parent = nullptr);
    explicit RecvSensitiveDlg(QVector<double> m1,QVector<double> m2,QWidget *parent = nullptr);
    ~RecvSensitiveDlg();

    int m_Width;
    int m_titleHeight;
    int m_totleHeight;

    QPushButton* btnClose;
    QPushButton* btnMin;
    QPushButton* btnSetup;
    QLabel*     lbTitleText;

    QVector<double> data1;
    QVector<double> data2;

    void initForm();
    void initCustomplot();
    void initButton();


protected:
    virtual void paintEvent(QPaintEvent*);

private:
    Ui::RecvSensitiveDlg *ui;

public slots:
    void btnMenu_Close_clicked();
    void btnMenu_Min_clicked();
};

#endif // RECVSENSITIVEDLG_H
